﻿//----------------------------------------------------------------
// Copyright (C) 2015-2020 PeachSystem Co.,Ltd.
// All rights reserved.
//
// 文件:RequestBase.cs
// 摘要:发送视频消息类
// 说明:
//

//当前版本：1.0.0
//作    者：陶剑扬
//完成日期：2014-11-14
//----------------------------------------------------------------

namespace PeachSystem.XWX.Entities.Message.Response
{
    public class ResponseVoice : ResponseBase
    {

        /// <summary>
        /// 消息类型
        /// </summary>
        public override ResponseMsgType MsgType { get { return ResponseMsgType.Voice; } }

        /// <summary>
        /// 语音
        /// </summary>
        public Voice Voice { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        public ResponseVoice()
        {
            Voice = new Voice();
        }
    }

    /// <summary>
    /// 语音类
    /// </summary>
    public class Voice
    {
        /// <summary>
        /// 通过上传多媒体文件，得到的id。
        /// </summary>
        public string MediaId { get; set; }
    }
}
